package com.yanfan.energy.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 设备能耗表(EquipmentConsumption)实体类
 *
 * @author makejava
 * @since 2022-10-11 18:16:45
 */
public class EquipmentConsumption implements Serializable {
    private static final long serialVersionUID = -62510199657622518L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 设备id
     */
    private Integer equipmentId;
    /**
     * 设备耗能价格
     */
    private Double equipmentConPrice;
    /**
     * 设备耗能
     */
    private BigDecimal equipmentCon;
    /**
     * 设备耗电单价
     */
    private Double equipmentPowerPrice;
    /**
     * 能耗价格
     */
    private Double price;
    /**
     * 能耗类型
     */
    private Integer type;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 修改时间
     */
    private Date lastModifiedDate;

    /**
     * 设备编号
     *
     * @return
     */
    private String equipmentCode;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Integer equipmentId) {
        this.equipmentId = equipmentId;
    }

    public Double getEquipmentConPrice() {
        return equipmentConPrice;
    }

    public void setEquipmentConPrice(Double equipmentConPrice) {
        this.equipmentConPrice = equipmentConPrice;
    }

    public BigDecimal getEquipmentCon() {
        return equipmentCon;
    }

    public void setEquipmentCon(BigDecimal equipmentCon) {
        this.equipmentCon = equipmentCon;
    }

    public Double getEquipmentPowerPrice() {
        return equipmentPowerPrice;
    }

    public void setEquipmentPowerPrice(Double equipmentPowerPrice) {
        this.equipmentPowerPrice = equipmentPowerPrice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }
}

